#include "ScnsBeep.c.h"

#if defined(SCNS_BEEP_ENABLE)&&SCNS_BEEP_ENABLE==1
#define PTX      P33_10

ScnsBeepStatus scnsBspBeepInit(void)
{
    gpio_init(PTX,GPO,0,PUSHPULL);
    return SCNS_BEEP_STATUS_OK;
}

ScnsBeepStatus scnsBspBeepPostInit(void)
{
    return SCNS_BEEP_STATUS_OK;
}

void scnsBspBeepSet(ScnsBeepTone status)
{
    gpio_set(PTX,status==SCNS_BEEP_TONE_OFF?0:1);
}

#endif
